You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > Rem Method > Matrix.Rem Method ([In] TMtxVec, [In] TMtxVec, int, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.Rem Method ([In] TMtxVec, [In] TMtxVec, int, int, int, int)

Calculates reminder after division X/Y according to formula: z[i] = X[xi]-y[yi]*Trunc(X[xi]/y[yi]), where i in [Index..Index+Len], xi in [XIndex..XIndex+Len], yi in [YIndex..YIndex+Len].

Syntax
C#
Visual Basic
public TMtxVec Rem([In] TMtxVec X, [In] TMtxVec Y, int XIndex, int YIndex, int Index, int Len);

The results will be saved to the calling Matrix. X must be a real. An exception will be raised if ConditionCheck is True and array borders are overrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!